<template>
    <RouterView />
</template>
<script setup lang="ts">
import { RouterView } from 'vue-router';
import setting from './setting'
import tool from './utils';
import { onMounted } from 'vue';

onMounted(() => {
    if (setting.debug) {
        console.log('%c%s', 'color: #FFFFFF;font-size: 12px;background: #409EFF;padding: 2px 4px;', '当前环境为开发环境');
    }
    tool.setRootColor(setting.ThemeColor, 'theme-color');
    tool.setRootColor(setting.fontColor, 'font-color')
});


</script>
<style lang="scss">
@import url("//at.alicdn.com/t/c/font_4658222_jvyo4fe1qfs.css");
</style>
